﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="locsanpham.ascx.cs" Inherits="UC_locsanpham" %>
<asp:Repeater runat="server" ID="rptChon">
    <HeaderTemplate>
        <asp:Label ID="Label1" runat="server" Text="Ban vua chon"></asp:Label>
    </HeaderTemplate>
    <ItemTemplate>
        <div>
            <asp:Label ID="Label3" runat="server" Text='<%#Eval("Tennhomboloc")%>'></asp:Label>
            <div id="banvuachon">
                <asp:Label ID="Label2" runat="server" Text='<%#Eval("Tenboloc")%>'></asp:Label>
                <asp:LinkButton ID="Linkchon" runat="server" CommandArgument='<%#Eval("Manhomboloc")%>'
                    OnCommand="Huy_Command" Text="huy"></asp:LinkButton>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
<asp:Repeater ID="rptParent" runat="server" OnItemDataBound="rptParent_ItemDataBound">
    <ItemTemplate>
        <div>
            <asp:Label ID="lblTen" runat="server" Text='<%#Eval("Tennhomboloc")%>'></asp:Label>
            <asp:HiddenField ID="HiddenParentID" Value='<%#Eval("Manhomboloc")%>' runat="server" />
            <asp:Repeater runat="server" ID="rptChild">
                <ItemTemplate>
                    <div>
                        <asp:LinkButton ID="LinkButton1" runat="server" OnCommand="LinkButton1_Command" CommandArgument='<%#Eval("Maboloc")%>'
                            Text='<%#Eval("Tenboloc")%>'></asp:LinkButton>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </ItemTemplate>
</asp:Repeater>
